﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Linq;

namespace Ocean.His.MedicalInsurance
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI2208Data
    {

        /// <summary>
        /// 结算ID
        /// 参数类型：字符型
        /// 参数长度：30
        /// 代码标识：
        /// 是否必填：Y
        /// 
        /// </summary>
        [DataMember(Name = "setl_id")]
        public string SetlId { get; set; }

        /// <summary>
        /// 就诊ID
        /// 参数类型：字符型
        /// 参数长度：30
        /// 代码标识：
        /// 是否必填：Y
        /// 
        /// </summary>
        [DataMember(Name = "mdtrt_id")]
        public string MdtrtId { get; set; }

        /// <summary>
        /// 人员编号
        /// 参数类型：字符型
        /// 参数长度：30
        /// 代码标识：
        /// 是否必填：Y
        /// 
        /// </summary>
        [DataMember(Name = "psn_no")]
        public string PsnNo { get; set; }

        /// <summary>
        /// 字段扩展
        /// 参数类型：字符型
        /// 参数长度：4000
        /// 代码标识：
        /// 是否必填：
        /// 
        /// </summary>
        [DataMember(Name = "exp_content")]
        public string ExpContent { get; set; }


    }

    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI2208InputModel
    {
        [DataMember(Name = "data")]
        public SI2208Data SI2208Data { get; set; }
    }

    /// <summary>
    /// 2208
    /// 门诊挂号
    /// </summary>
    [DataContract]
    public class SI2208RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI2208InputModel Input { get; set; }

        public SI2208RequestModel(MedicalInsuranceOption medicalInsuranceOption,
            SI2208Data si2208Data) : base(medicalInsuranceOption)
        {
            Infno = "2208";
            Input = new SI2208InputModel();
            Input.SI2208Data = si2208Data;
        }
    }
}
